# -*- coding: utf-8 -*-
# 创建时间：2021/10/9 22:50
from bs4 import BeautifulSoup
import requests
import time, math, random, json
import pymysql
import re
import datetime

__author__ = 'LuckyHhy'


def main():
    day_tiannn = datetime.datetime.now()
    ar=(datetime.datetime.now()+datetime.timedelta(hours=-11)).weekday()
    print(ar)
    if ar==5:
        day_tian = (day_tiannn + datetime.timedelta(hours=-11)+datetime.timedelta(days=+2)).strftime('%d/%m/%Y')
    elif ar==6:
        day_tian = (day_tiannn + datetime.timedelta(hours=-11) + datetime.timedelta(days=+1)).strftime('%d/%m/%Y')
    else:
        day_tian = (day_tiannn + datetime.timedelta(hours=-11)).strftime('%d/%m/%Y')

    week_day_dict = {
        0: '星期一',
        1: '星期二',
        2: '星期三',
        3: '星期四',
        4: '星期五',
        5: '星期六',
        6: '星期天',
    }
    print(week_day_dict[ar])
    print('当天巴西日期:{}'.format(day_tian))
    pass


if __name__ == '__main__':
    main()
